package com.mercury.ec.module.air.controller.admin.order.vo.order;

import com.mercury.ec.module.air.controller.admin.order.validator.AirOrderIssueSequenceProvider;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.group.GroupSequenceProvider;

import javax.validation.constraints.NotNull;

@Data
@Schema(description = "管理后台 - 机票订单拒绝出票 Request VO")
@GroupSequenceProvider(value = AirOrderIssueSequenceProvider.class)
public class AirOrderRefuseIssueReqVO {

    @Schema(description = "订单id", requiredMode = Schema.RequiredMode.REQUIRED, example = "11414")
    @NotNull(message = "订单id不能为空")
    private Long id;

    @Schema(description = "拒单原因", example = "拒单原因")
    private String refuseCause;
}
